package org.phantom.securityframework.api;

import org.apache.shiro.config.Ini;
import org.apache.shiro.subject.Subject;
import org.phantom.securityframework.api.factory.ManagerFactory;
/**
 * 扩展Shiro接口
 * @author david
 *
 */
public interface SecurityManager extends org.apache.shiro.mgt.SecurityManager {

	/**
	 * 启用帐号
	 * @param subject
	 */
	void enable(Subject subject)throws Exception;
	/**
	 * 禁用帐号
	 * @param subject
	 */
	void disable(Subject subject)throws Exception;
	
	ManagerFactory getManagerFactory(Ini ini);
}
